package com.aaa.hospital.Client.mapper;


import com.aaa.hospital.Client.pojo.Department;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DepartmentMapper {
    List<Department> queryAll();
    Department selectById(int id);
    int delete(int id);
    int update(Department department);
    int insert(Department department);

}
